$(function () {




    $("#sub").on("click", function () {
        let username = $('#username').val();
        let password = $('#password').val();

        localStorage.setItem("username", username)
        document.cookie = `username = ${username} `


        location.href = "file:///C:/Users/Administrator/Desktop/%E9%A1%B9%E7%9B%AE/kangkangs-tesco-project/test/user.html"
    })





})